package com.video.service.client;


import com.baomidou.mybatisplus.extension.service.IService;
import com.video.entity.ClientMsg;

import java.util.List;

/**
 * @Author ken
 * @Time 2018/12/15 14:37
 * @Version 1.0
 */
public interface IClientService extends IService<ClientMsg> {

    List<ClientMsg> queryList();

    List<ClientMsg> searchList(String keyword);

    int updateName(Integer userid, String uname);

    int updatePowers(Integer userid, Integer[] limits);

    int updateHost(Integer uid);

    ClientMsg getHost();

    int deleteClientByUserId(Integer userid);

    List<ClientMsg> queryClientsByWebcon(String account, String keyword);

    int updateVolume(Integer volume, String[] userid);

    int insertOrUpdate(ClientMsg clientMsg);

    int updateUserId(Integer newId, Integer oldId);
}
